package org.dubnation.base.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ExcelTarget(value = "errors")
public class ErrorMsg implements Serializable {

    @Excel(name = "错误数据所在的行数")
    private Integer errorRow;

    @Excel(name = "具体错误")
    private String error;
}
